package de.teamgamma.cansat.groundstation.livestream;

/**
 * Value that is transmitted
 * @author Marc Huisinga
 *
 */
public class TransmittedValue {
	private String key;
	private String unit;
	
	/**
	 * 
	 * @param key - key of the value
	 * @param unit - unit of the value
	 */
	public TransmittedValue(String key, String unit) {
		this.key = key;
		this.unit = unit;
	}
	
	/**
	 * Gets the key of the value
	 * @return key of the value
	 */
	public String getKey() {
		return key;
	}
	
	/**
	 * Sets the key of the value
	 * @param key
	 */
	public void setKey(String key) {
		this.key = key;
	}
	
	/**
	 * Gets the unit of the value
	 * @return unit
	 */
	public String getUnit() {
		return unit;
	}
	
	/**
	 * Sets the unit of the value
	 * @param unit
	 */
	public void setUnit(String unit) {
		this.unit = unit;
	}
}
